﻿using System.Collections.ObjectModel;
using IntoNails.Models;

namespace IntoNails.Modules.CategoryManagement.Models
{
    public class ServiceDataContext
    {
        public ServiceDataContext(Category category, ObservableCollection<Category> categoryList, bool isEditMode)
        {
            this.CurrentCategory = category;
            this.CategoryCollection = categoryList;
            this.IsEditMode = isEditMode;
        }

        public ObservableCollection<Category> CategoryCollection { get; private set; }
        public Category CurrentCategory { get; private set; }
        public bool IsEditMode { get; private set; }
    }
}
